package cn.xuewei.mapper;

import cn.xuewei.pojo.entity.UserLike;
import cn.xuewei.pojo.vo.LikeSimpleVO;
import org.springframework.stereotype.Repository;

@Repository
public interface LikeMapper {

    void insert(UserLike userLike);
    void delete(Long userId,Long contentId);

    LikeSimpleVO findByUserIdAndContentId(Long userId, Long contentId);
}
